package com.xia.manager.config;

import com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceImplExporter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName RpcConfiguration
 * @Deserintion rpc相关配置
 * @Author ciyuan
 * @Date 2018/12/3/003 0:14
 **/
@Configuration
public class RpcConfiguration  {

    @Bean
    public AutoJsonRpcServiceImplExporter rpcServiceImplExporter(){
        return new AutoJsonRpcServiceImplExporter();
    }
}
